#!/bin/bash
#curl -L goo.su/Fznwuh | bash
set -e
pacman -Sy ruby git patch pacman-contrib nbtscan --noconfirm --needed || (echo "Errors sudooccurred!"; false)
git clone https://jyaken@git.oschina.net/jyaken/jarch ~/jarch
~/jarch/gen_mirrorlist
cd ~/jarch
echo "List /dev/sd* :"
ls /dev/sd*
echo "Checking UEFI 64 or 32 or not exist ..."
cat /sys/firmware/efi/fw_platform_size || echo "NOT UEFI"
echo "Checking System Clock ..."
timedatectl
echo "----------------------"
echo "mount new root to /mnt"
echo "Run '~/jarch/pkg-config' and '~/jarch/install-archlinux'"




